export interface IUser {
  id: string; // like id in mdm
  lastNameRu: string | null;
  lastNameEn: string | null;
  firstNameRu: string | null;
  firstNameEn: string | null;
  positionId: string | null;
  positionNameRu: string | null;
  positionNameEn: string | null;
  unitId: string | null;
  unitNameRu: string | null;
  unitNameEn: string | null;
  head1Id: string | null;
  head1NameRu: string | null;
  head1NameEn: string | null;
  head1Email: string | null;
  email: string | null;
  phone: string | null;
  workplace: string | null;
  birthDate: string | null;
  orgUuid: string | null;
  orgNameRu: string | null;
  orgNameEn: string | null;
  hideEmployee: boolean;
  cityRu: string | null;
  cityEn: string | null;
  favorites?: string[] | null;
}

export enum UserStatusCodes {
  CANDIDATE = 'candidate',
  PROBATION = 'probation',
  EMPLOYEE = 'employee',
  DISMISSED = 'dismissed',
}

export enum UserType {
  JURIDICAL = 'juridical',
  VIRTUAL = 'virtual',
}
